//
//  ProducersPicker.h
//  YaoHeAPP
//
//  Created by mac on 15/12/15.
//  Copyright © 2015年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger,selectBtn)
{
    UNSELECT,//未选中
    SELECT  //选中
};

@interface ProducersPicker : UIView<UIGestureRecognizerDelegate> {
    UIView *_bgView;
    NSString *_stringRow;//将选中字符串拼接成完整的一个字
    UIScrollView *_scrollView;//滑动视图
    UIButton *_button;
    NSMutableArray *_tagArray;//存放按钮的tag值
    NSMutableArray* _dataArray;
}
@property (nonatomic, strong) void(^SelectBlock)(NSString *selectIndexStr);
@property (nonatomic, strong) NSString *titleStr;
@property (nonatomic, strong) NSString *selectAry;


//大小
- (id)initWithFrame:(CGRect)frame;

//展示选择器
+(void)showPickerView:(UIView*)selfView withTitle:(NSString*)titleString  selectString:(NSString*)str andSelectBlock:(void(^)(NSString*))selectRow ;



@end
